home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!usenet
- From: veenb@xs4all.nl (Barend ten Veen)
- Newsgroups: comp.lang.c++
- Subject: Re: Problem with TIcon and win32 with BC4.53
- Date: Wed, 24 Jan 1996 13:53:10 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4e59ql$i1e@news.xs4all.nl>
- References: <4e57j7$cs3@news.xs4all.nl>
- NNTP-Posting-Host: asd07-15.dial.xs4all.nl
- X-Newsreader: Forte Free Agent 1.0.82
-
-
- Hello, I solved my problem after a last try by myself.
-
- For those who are interessed:
-
- here is the sollution:
-
- HICON Hand;
- TIcon *AppIcon;
-
- char Commando[]="blabla.exe";
-
- AppIcon=0;
- Hand=0;
-
- // The following line check for an icon in the file
-
- Hand=ExtractIcon (0, (LPSTR)Commando, 0);
-
- if ((int)Hand != NULL && (int)Hand !=1)
- AppIcon=new TIcon (Hand);
- . . .
-
- Barend.
- veenb@xs4all.nl
-
-
-
-
-
-